<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  
  
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>
    
    OOOOONLY</title>
  
    <link rel="shortcut icon" href="/favicon.ico">
  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
  
<script src="/js/pace.min.js"></script>

<meta name="generator" content="Hexo 4.2.0"></head>

<body>
<main class="content">
  <section class="jumbotron">
  <div class="video">
    
      <div class="video-frame">
        <img src="/images/ocean/overlay-hero.png" alt="Decorative image frame">
      </div>
    
    <div class="video-media">
      <video playsinline="" autoplay="" loop="" muted="" data-autoplay=""
             poster="/images/ocean/ocean.png" x5-video-player-type="h5">
        <source src="/images/ocean/ocean.mp4" type="video/mp4">
        <source src="/images/ocean/ocean.ogv" type="video/ogg">
        <source src="/images/ocean/ocean.webm" type="video/webm">
        <p>Your user agent does not support the HTML5 Video element.</p>
      </video>
      <div class="video-overlay"></div>
    </div>
    <div class="video-inner text-center text-white">
      <h1><a href="/">OOOOONLY</a></h1>
      <p></p>
      <div><img src="/images/hexo-inverted.svg" class="brand" alt="OOOOONLY"></div>
    </div>
    <div class="video-learn-more">
      <a class="anchor" href="#landingpage"><i class="fe fe-mouse"></i></a>
    </div>
  </div>
</section>

<div id="landingpage">
  <section class="outer">
    <article class="articles">
      
      <h1 class="page-type-title"></h1>
      
        
          <article id="post-FIFO-LFU和LRU算法的区别" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>

    <div class="article-inner">
        
            <header class="article-header">
                
  
    <h2 itemprop="name">
      <a class="article-title" href="/2020/07/08/FIFO-LFU%E5%92%8CLRU%E7%AE%97%E6%B3%95%E7%9A%84%E5%8C%BA%E5%88%AB/">FIFO,LFU和LRU算法的区别</a>
    </h2>
  
  




            </header>
            

                
                    <div class="article-meta">
                        <a href="/2020/07/08/FIFO-LFU%E5%92%8CLRU%E7%AE%97%E6%B3%95%E7%9A%84%E5%8C%BA%E5%88%AB/" class="article-date">
  <time datetime="2020-07-08T03:43:11.000Z" itemprop="datePublished">2020-07-08</time>
</a>
                            
                    </div>
                    

                        

                                    <div class="article-entry" itemprop="articleBody">
                                        


                                            

                                                
                                                    <h1 id="FIFO-LFU和LRU算法的区别"><a href="#FIFO-LFU和LRU算法的区别" class="headerlink" title="FIFO,LFU和LRU算法的区别"></a>FIFO,LFU和LRU算法的区别</h1>
                                                        
                                                            <a class="article-more-link" href="/2020/07/08/FIFO-LFU%E5%92%8CLRU%E7%AE%97%E6%B3%95%E7%9A%84%E5%8C%BA%E5%88%AB/">
                                                                Read More...
                                                            </a>
                                                            
                                                                
                                    </div>
                                    <footer class="article-footer">
                                        <a data-url="http://only52607.github.io/2020/07/08/FIFO-LFU%E5%92%8CLRU%E7%AE%97%E6%B3%95%E7%9A%84%E5%8C%BA%E5%88%AB/" data-id="ckcctix6i00005su1gtxd0ae8" class="article-share-link">
                                            Share
                                        </a>
                                        
                                    </footer>

    </div>

    

                

</article>
        
          <article id="post-理解A-算法" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>

    <div class="article-inner">
        
            <header class="article-header">
                
  
    <h2 itemprop="name">
      <a class="article-title" href="/2020/07/08/%E7%90%86%E8%A7%A3A-%E7%AE%97%E6%B3%95/">理解A*算法</a>
    </h2>
  
  




            </header>
            

                
                    <div class="article-meta">
                        <a href="/2020/07/08/%E7%90%86%E8%A7%A3A-%E7%AE%97%E6%B3%95/" class="article-date">
  <time datetime="2020-07-08T03:41:56.000Z" itemprop="datePublished">2020-07-08</time>
</a>
                            
                    </div>
                    

                        

                                    <div class="article-entry" itemprop="articleBody">
                                        


                                            

                                                
                                                    <h1 id="理解A-寻路算法"><a href="#理解A-寻路算法" class="headerlink" title="理解A*寻路算法"></a>理解A*寻路算法</h1>
                                                        
                                                            <a class="article-more-link" href="/2020/07/08/%E7%90%86%E8%A7%A3A-%E7%AE%97%E6%B3%95/">
                                                                Read More...
                                                            </a>
                                                            
                                                                
                                    </div>
                                    <footer class="article-footer">
                                        <a data-url="http://only52607.github.io/2020/07/08/%E7%90%86%E8%A7%A3A-%E7%AE%97%E6%B3%95/" data-id="ckcctix6r00015su1gnht4ahz" class="article-share-link">
                                            Share
                                        </a>
                                        
                                    </footer>

    </div>

    

                

</article>
        
          <article id="post-Lua字节码剖析-基于Lua5-2" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>

    <div class="article-inner">
        
            <header class="article-header">
                
  
    <h2 itemprop="name">
      <a class="article-title" href="/2020/07/08/Lua%E5%AD%97%E8%8A%82%E7%A0%81%E5%89%96%E6%9E%90-%E5%9F%BA%E4%BA%8ELua5-2/">Lua字节码剖析(基于Lua5.2)</a>
    </h2>
  
  




            </header>
            

                
                    <div class="article-meta">
                        <a href="/2020/07/08/Lua%E5%AD%97%E8%8A%82%E7%A0%81%E5%89%96%E6%9E%90-%E5%9F%BA%E4%BA%8ELua5-2/" class="article-date">
  <time datetime="2020-07-08T03:38:20.000Z" itemprop="datePublished">2020-07-08</time>
</a>
                            
                    </div>
                    

                        

                                    <div class="article-entry" itemprop="articleBody">
                                        


                                            

                                                
                                                    <h1 id="Lua字节码剖析-基于Lua5-2"><a href="#Lua字节码剖析-基于Lua5-2" class="headerlink" title="Lua字节码剖析(基于Lua5.2)"></a>Lua字节码剖析(基于Lua5.2)</h1>
                                                        
                                                            <a class="article-more-link" href="/2020/07/08/Lua%E5%AD%97%E8%8A%82%E7%A0%81%E5%89%96%E6%9E%90-%E5%9F%BA%E4%BA%8ELua5-2/">
                                                                Read More...
                                                            </a>
                                                            
                                                                
                                    </div>
                                    <footer class="article-footer">
                                        <a data-url="http://only52607.github.io/2020/07/08/Lua%E5%AD%97%E8%8A%82%E7%A0%81%E5%89%96%E6%9E%90-%E5%9F%BA%E4%BA%8ELua5-2/" data-id="ckcctc2rc0000y8u1be8chbaw" class="article-share-link">
                                            Share
                                        </a>
                                        
                                    </footer>

    </div>

    

                

</article>
        
          <article id="post-浅谈Kotlin反射" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>

    <div class="article-inner">
        
            <header class="article-header">
                
  
    <h2 itemprop="name">
      <a class="article-title" href="/2020/07/08/%E6%B5%85%E8%B0%88Kotlin%E5%8F%8D%E5%B0%84/">浅谈Kotlin反射</a>
    </h2>
  
  




            </header>
            

                
                    <div class="article-meta">
                        <a href="/2020/07/08/%E6%B5%85%E8%B0%88Kotlin%E5%8F%8D%E5%B0%84/" class="article-date">
  <time datetime="2020-07-08T02:50:15.000Z" itemprop="datePublished">2020-07-08</time>
</a>
                            
                    </div>
                    

                        

                                    <div class="article-entry" itemprop="articleBody">
                                        


                                            

                                                
                                                    <h1 id="浅谈Kotlin反射"><a href="#浅谈Kotlin反射" class="headerlink" title="浅谈Kotlin反射"></a>浅谈Kotlin反射</h1><blockquote>
<p>反射是这样的一组语言和库功能，它允许在运行时自省你的程序的结构。 Kotlin 让语言中的函数和属性做为一等公民、并对其自省（即在运行时获悉一个名称或者一个属性或函数的类型）与简单地使用函数式或响应式风格紧密相关。</p>
</blockquote>
                                                        
                                                            <a class="article-more-link" href="/2020/07/08/%E6%B5%85%E8%B0%88Kotlin%E5%8F%8D%E5%B0%84/">
                                                                Read More...
                                                            </a>
                                                            
                                                                
                                    </div>
                                    <footer class="article-footer">
                                        <a data-url="http://only52607.github.io/2020/07/08/%E6%B5%85%E8%B0%88Kotlin%E5%8F%8D%E5%B0%84/" data-id="ckcctc2ro0001y8u10bas3lex" class="article-share-link">
                                            Share
                                        </a>
                                        
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Kotlin/" rel="tag">Kotlin</a></li></ul>

                                    </footer>

    </div>

    

                

</article>
        
          <article id="post-Markdown-语法速查" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>

    <div class="article-inner">
        
            <header class="article-header">
                
  
    <h2 itemprop="name">
      <a class="article-title" href="/2020/07/06/Markdown-%E8%AF%AD%E6%B3%95%E9%80%9F%E6%9F%A5/">Markdown 语法速查</a>
    </h2>
  
  




            </header>
            

                
                    <div class="article-meta">
                        <a href="/2020/07/06/Markdown-%E8%AF%AD%E6%B3%95%E9%80%9F%E6%9F%A5/" class="article-date">
  <time datetime="2020-07-06T05:25:36.000Z" itemprop="datePublished">2020-07-06</time>
</a>
                            
                    </div>
                    

                        

                                    <div class="article-entry" itemprop="articleBody">
                                        


                                            

                                                
                                                    <h1 id="markdown语法速查"><a href="#markdown语法速查" class="headerlink" title="markdown语法速查"></a>markdown语法速查</h1><h2 id="标题"><a href="#标题" class="headerlink" title="标题"></a>标题</h2><figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="section"># 标题1</span></span><br><span class="line"><span class="section">## 标题2</span></span><br><span class="line"><span class="section">### 标题3</span></span><br><span class="line"><span class="section">#### 标题4</span></span><br><span class="line"><span class="section">##### 标题5</span></span><br><span class="line"><span class="section">###### 标题6</span></span><br></pre></td></tr></table></figure>
                                                        
                                                            <a class="article-more-link" href="/2020/07/06/Markdown-%E8%AF%AD%E6%B3%95%E9%80%9F%E6%9F%A5/">
                                                                Read More...
                                                            </a>
                                                            
                                                                
                                    </div>
                                    <footer class="article-footer">
                                        <a data-url="http://only52607.github.io/2020/07/06/Markdown-%E8%AF%AD%E6%B3%95%E9%80%9F%E6%9F%A5/" data-id="ckca3rwn10000mou13ts730r9" class="article-share-link">
                                            Share
                                        </a>
                                        
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/markdown/" rel="tag">markdown</a></li></ul>

                                    </footer>

    </div>

    

                

</article>
        
          <article id="post-Kotlin中的作用域函数" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>

    <div class="article-inner">
        
            <header class="article-header">
                
  
    <h2 itemprop="name">
      <a class="article-title" href="/2019/05/10/Kotlin%E4%B8%AD%E7%9A%84%E4%BD%9C%E7%94%A8%E5%9F%9F%E5%87%BD%E6%95%B0/">Kotlin中的作用域函数</a>
    </h2>
  
  




            </header>
            

                
                    <div class="article-meta">
                        <a href="/2019/05/10/Kotlin%E4%B8%AD%E7%9A%84%E4%BD%9C%E7%94%A8%E5%9F%9F%E5%87%BD%E6%95%B0/" class="article-date">
  <time datetime="2019-05-10T07:26:29.000Z" itemprop="datePublished">2019-05-10</time>
</a>
                            
                    </div>
                    

                        

                                    <div class="article-entry" itemprop="articleBody">
                                        


                                            

                                                
                                                    <h1 id="let、with、run、apply、also"><a href="#let、with、run、apply、also" class="headerlink" title="let、with、run、apply、also"></a>let、with、run、apply、also</h1><p>Kotlin 标准库包含几个函数，它们的唯一目的是在对象的上下文中执行代码块。当对一个对象调用这样的函数并提供一个 lambda 表达式时，它会形成一个临时作用域。在此作用域中，可以访问该对象而无需其名称。这些函数称为作用域函数。共有以下五种：let、run、with、apply 以及 also。</p>
                                                        
                                                            <a class="article-more-link" href="/2019/05/10/Kotlin%E4%B8%AD%E7%9A%84%E4%BD%9C%E7%94%A8%E5%9F%9F%E5%87%BD%E6%95%B0/">
                                                                Read More...
                                                            </a>
                                                            
                                                                
                                    </div>
                                    <footer class="article-footer">
                                        <a data-url="http://only52607.github.io/2019/05/10/Kotlin%E4%B8%AD%E7%9A%84%E4%BD%9C%E7%94%A8%E5%9F%9F%E5%87%BD%E6%95%B0/" data-id="ckca3rwn60001mou13ifqer2h" class="article-share-link">
                                            Share
                                        </a>
                                        
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Kotlin/" rel="tag">Kotlin</a></li></ul>

                                    </footer>

    </div>

    

                

</article>
        
    </article>
    
  
    
  </section>
</div>

  <footer class="footer">
  <div class="outer">
    <div class="float-right">
      <ul class="list-inline">
  
    <li><i class="fe fe-bar-chart"></i> <span id="busuanzi_value_site_pv"></span></li>
  
    <li><i class="fe fe-smile-alt"></i> <span id="busuanzi_value_site_uv"></span></li>
  
</ul>
    </div>
    <ul class="list-inline">
      <li>&copy; 2020 OOOOONLY</li>
      <li>Powered by <a href="http://hexo.io/" target="_blank">Hexo</a></li>
      <li>Theme  <a href="https://github.com/zhwangart/hexo-theme-ocean" target="_blank" rel="noopener">Ocean</a></li>
    </ul>
  </div>
</footer>

</main>
<aside class="sidebar">
  <button class="navbar-toggle"></button>
<nav class="navbar">
  
    <div class="logo">
      <a href="/"><img src="/images/hexo.svg" alt="OOOOONLY"></a>
    </div>
  
  <ul class="nav nav-main">
    
      <li class="nav-item">
        <a class="nav-item-link" href="/">Home</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/archives">Archives</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/gallery">Gallery</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/about">About</a>
      </li>
    
    <li class="nav-item">
      <a class="nav-item-link nav-item-search" title="Search">
        <i class="fe fe-search"></i>
        Search
      </a>
    </li>
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      <div class="totop" id="totop">
  <i class="fe fe-rocket"></i>
</div>
    </li>
    <li class="nav-item">
      
        <a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
          <i class="fe fe-feed"></i>
        </a>
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
</aside>

<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/jquery.justifiedGallery.min.js"></script>


<script src="/js/lazyload.min.js"></script>


<script src="/js/busuanzi-2.3.pure.min.js"></script>


  
<script src="/fancybox/jquery.fancybox.min.js"></script>






<script src="/js/ocean.js"></script>


</body>
</html>